<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @font-face {
            font-family: "userfont";
            src: url("./font/iconfont.ttf");
        }

        icon-users:before {
            font-family: "userfont" !important;
            font-size: 50px;
            font-style: normal;
            content: "\e6d6";
        }

        icon-like:before {
            font-family: "userfont" !important;
            font-size: 50px;
            font-style: normal;
            content: "\e60b";
        }

        icon-types:before {
            font-family: "userfont" !important;
            font-size: 50px;
            font-style: normal;
            content: "\e613";
        }

        icon-flexible:before {
            font-family: "userfont" !important;
            font-size: 50px;
            font-style: normal;
            content: "\e6d4";
        }
        icon-twoleft:before {
            font-family: "userfont" !important;
            font-size: 50px;
            font-style: normal;
            content: "\e62c";
        }
    </style>
    <script src="./js/vue.js"></script>
</head>

<body>
    <icon-users></icon-users>
    <icon-like></icon-like>
    <icon-types></icon-types>
    <icon-flexible></icon-flexible>
    <hr>
    <div id="app">
        <icon-users></icon-users>
        <icon-like></icon-like>
        <icon-types></icon-types>
        <icon-flexible></icon-flexible>
        <icon-twoleft></icon-twoleft>
    </div>
</body>
<script>
    // 描述当前vue项目环境下，哪些标签不需要作为组件标签被解析
    Vue.config.ignoredElements = [
        "icon-users",
        // 2.5 版本后，引入了正则定义语法
        /^icon-/
    ];


    new Vue({
        el: "#app"
    })
</script>

</html>